import sys
sys.path.append('./')
from bs4 import BeautifulSoup

html = './2019-04-01 22_44_54 testReport.html'
hf = open(html, 'r', encoding='utf-8').read()
soup = BeautifulSoup(hf, 'html.parser')


s = soup.find_all(class_="attribute")[-1]
print(s.text)